package com.test.qpbgboot.evaluation.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class EscortEvaluationSaveParam {
    @ApiModelProperty(value = "陪玩id")
    @NotNull(message = "陪玩id不能为空")
    private Long escortId;
    @ApiModelProperty(value = "订单id")
    @NotNull(message = "订单id不能为空")
    private Long orderId;
    @ApiModelProperty(value = "评分")
    @NotNull(message = "评分不能为空")
    @Min(1)
    @Max(5)
    private Byte rating;
    @ApiModelProperty(value = "评论")
    private String comment;
    @ApiModelProperty(value = "点赞数")
    @Min(0)
    private Integer likes;
    @ApiModelProperty(value = "陪玩反馈")
    private String escortResponse;
}
